#!/usr/bin/env python
#
# This class is used to represent an event
#
# requires sudo apt-get install python-numpy
#

class Event(object):
	
    date = None			# Date of event
    sentence = None		# Sentence containing entity, date, and event
    duplicates = None	# list of (event, cos(event.sent, self.sent)
    duplicateVerbs = None # List of (event, verbsim)
    searchResult = 0	# Number of hits 
    bRemoved	= False	# Flag to keep track of state, in event list or not
    url = None			# URL for where this event was found (source page)		
	
    def __init__(self, date, sentence, url):
        self.date = date
        self.sentence = sentence
        self.duplicates = []
        self.duplicateVerbs = []
        self.url = url

	
